<?php

require_once "core/application/models/mrequests/mrequests7.php";

class Mrequests8 extends Mrequests7 {

    private $_query   = NULL;
	public $_fetch = array();

    protected function issetRequest($fromChar, $toChar) {
        /**
         *  проверка на существование запроса
         */
        DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT `id`, `status` FROM `personal_requests` WHERE `fromChar` = '$fromChar' AND `toChar` = '$toChar'";
		return $this->_fetch = mysql_fetch_assoc(DB::getInstance()->sql($this->_query));
    }

}

?>
